package com.timk.goserver.client.model;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Client-side class for user info
 * @author TKington
 *
 */
public class ClientUserInfo implements IsSerializable {
	/** No email notification */
	public static final int NOTIFICATION_NONE = 0;
	/** Email notification */
	public static final int NOTIFICATION_NOTIFY = 1;
	/** Email notificatoin with full board */
	public static final int NOTIFICATION_FULL_BOARD = 2;
	
	private String username;
	private String fullname;
	private String email;
	private String rank;
	private int notification;
	private int imageSize;

	/**
	 * Returns the username
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * Sets the username
	 * @param username
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * Returns the full name
	 * @return the full name
	 */
	public String getFullname() {
		return fullname;
	}

	/**
	 * Sets the full name
	 * @param fullname
	 */
	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	/**
	 * Returns the rank
	 * @return the rank
	 */
	public String getRank() {
		return rank;
	}

	/**
	 * Sets the rank
	 * @param rank
	 */
	public void setRank(String rank) {
		this.rank = rank;
	}

	/**
	 * Returns the email address
	 * @return the email address
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * Sets the email address
	 * @param email
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * Returns the notification setting
	 * @return the notification setting
	 */
	public int getNotification() {
		return notification;
	}

	/**
	 * Sets the notification setting
	 * @param notification
	 */
	public void setNotification(int notification) {
		this.notification = notification;
	}

	/**
	 * Returns the image size
	 * @return the image size
	 */
	public int getImageSize() {
		return imageSize;
	}

	/**
	 * Sets the image size
	 * @param imageSize
	 */
	public void setImageSize(int imageSize) {
		this.imageSize = imageSize;
	}
}
